package xc.com.cms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xc.com.cms.domain.CmsSite;
import xc.com.cms.repositor.CmsSiteRepository;
import xc.com.cms.service.CmsSiteService;

import java.util.List;

@Service
public class CmsSiteServiceImpl implements CmsSiteService {
    @Autowired
    private CmsSiteRepository cmsSiteRepository;


    @Override
    public List<CmsSite> findAll() {
        List<CmsSite> list = cmsSiteRepository.findAll();
        return list;
    }
}
